home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir39 / 8048.zip / HELP.TXT < prev    next >
Text File  |  1993-01-05  |  11KB  |  334 lines

  1.  
  2.   This is the main File menu.  The following commands
  3.   are available:
  4.    Load - load a file from disk into the text buffer.
  5.    Save - save the contents of the text buffer to a file
  6.      under the current file name.
  7.    Save as - save the text buffer under a new name.
  8.    XMem file - loads a hex file into an internal memory
  9.      buffer.
  10.    Print - print the text in the buffer.  The printer
  11.      port selected in options is used for printing.
  12.    Burn - executes a DOS command: BURN filename.
  13.    Info - displays info on the editors current status.
  14.    DOS shell - exit to a DOS shell.
  15.    Quit - Quit the program.
  16.  
  17.  
  18.   A list of files matching the specified (or default)
  19.   filespec have been displayed.  Select the desired
  20.   file by highlighting it and pressing the ENTER key.
  21.  
  22.  
  23.   Select which type of monitor is connected to this
  24.   computer (COLOR or MONOCHROME).
  25.  
  26.  
  27.   Select which parallel port your printer is connected
  28.   to (LPT1, LPT2 or LPT3).  If you to not have a printer
  29.   connected to your system the set the printer port to
  30.   OFF.
  31.  
  32.  
  33.   This menu allows you to specify which files are to be
  34.   generated during the assembly process.  Setting an
  35.   entry to YES will cause that file to be generated.
  36.   Each of the file types are:
  37.     Generate list file - listing file containing line
  38.        number, hex program codes and source lines.
  39.     Generate symbol file - file containing a list of
  40.        symbols used in a source file and their
  41.        corresponding values.
  42.     Generate instruction count - list of each instruction
  43.        used and how many times it was used in the source
  44.        file.
  45.     Generate hex file - this file contains the assembled
  46.        code which is generated from the source file.
  47.        This file is in Intel hex format.
  48.  
  49.   This is the main Options menu, this menu allows you
  50.   to specify various system level settings.  These
  51.   settings include:
  52.  
  53.     Printer port - defines which printer port to use
  54.       when printing source code.
  55.  
  56.     Monitor - defines the type of monitor connected to
  57.       your computer.  Some things will not show up
  58.       on a monochrome monitor if this is set to Color.
  59.  
  60.     File generation - defines which files are to be
  61.       created during assembly.  Each file being generated
  62.       creates more overhead and slows down the assembly
  63.       process.
  64.  
  65.     Tab width - defines where tab stops are to be placed.
  66.       Pressing the TAB key inserts spaces and not the tab
  67.       character.
  68.  
  69.     Set output radix - defines the default radix to be
  70.       used by the simulator when displaying numbers.
  71.  
  72.     Home directory - defines the directory where the
  73.       8048.EXE program resides.  This allows the program
  74.       to locate the help files if you are not in its
  75.       home directory.
  76.  
  77.     Chip type - specifies which target CPU is to be used.
  78.       This allows the assembler to inform you if your
  79.       code becomes larger than the target CPU.  It also
  80.       specifies to the programmer which chip is being
  81.       programmed.
  82.  
  83.     Programmer port - specifies which printer port the
  84.       programmer is attached to (LPT1, LPT2 or LPT3).
  85.  
  86.     Save configuration - allows you to save the current
  87.       settings which you have defined.  This  config-
  88.       uration file is saved in the current directory,
  89.       this allows you to have different configurations
  90.       for each project. This is the 8048 Assembler/Simulator main menu.  The
  91.  available commands are:
  92.    File: Load, Save, Save as, XMem file, Print,
  93.      DOS shell, Burn, Info and quit.
  94.    Edit: allows you to edit a previously loaded text file
  95.      or create a new one.
  96.    Assemble: assembles the text currently in the editors
  97.      text buffer.
  98.    Simulator: allows you to step through your program
  99.     viewing the registers, flags, ports and memory.
  100.    Program; allows you to program, blank check, verify
  101.      and read the contents of an 8748/49 in the
  102.      programmer.
  103.    Options: allows you to specify assembly file
  104.     generation, monitor type, printer port and simulator
  105.     radix.
  106.  
  107.   This is the simulation screen, displayed on this screen
  108.   is your source code, flags, registers, RAM memory and
  109.   ports.
  110.  
  111.  
  112.   You can move from window to window by pressing the 
  113.   <TAB> and <SHIFT><TAB> keys.  You can scroll through
  114.   each window using the up arrow, down arrow, page up,
  115.   page down, home and end keys.
  116.  
  117.  
  118.   Once in the flag, register, memory or port window
  119.   each entry can be modified by highlighting it and
  120.   pressing the ENTER key.  Then enter the new value.
  121.  
  122.  
  123.  
  124.   You can also modify flags, registers, memory and ports
  125.   from any window by using the follwoing commands:
  126.  
  127.       FLAG flag state       i.e. FLAG CY 1
  128.       REG register value    i.e. REG R0 1001b
  129.       RAM address value     i.e. RAM 32 89h
  130.       PORT port value       i.e. PORT P2 24
  131.       RESET                 resets the cpu
  132.  
  133.   to issue any of these commands simply start typing the
  134.   command.  A window will pop up allowing you to enter
  135.   the rest of the command.
  136.  
  137.  
  138.  
  139.  
  140.  
  141.   The function keys perform the following functions:
  142.  
  143.     F1 displays this help message.
  144.     F4 executes to the currently highlighted source line.
  145.     F7 executes the next instruction stepping into CALLs.
  146.     F8 executes the next instruction stepping over CALLs.
  147.     F10 returns you to the main menu.
  148.  
  149.  
  150.   When in the Register, Memory or Port windows you have
  151.   the addition command:
  152.  
  153.     F9 Select radix for highlighted Register/Mem/Port.
  154.  
  155.  
  156.  
  157.   The flags displayed in the flag window are defined
  158.   as follows:
  159.     CY   - Carry flag.
  160.     AC   - Auxiliary Carry flag.
  161.     BS   - Working register Bank switch Select.
  162.     F0   - User controlled Flag 0 bit.
  163.     F1   - User controlled Flag 1 bit.
  164.     MB   - Memory Bank select bit (bank 0 or 1)
  165.     T0   - T0 test pin.
  166.     T1   - T1 test pin.
  167.     INT  - Interrupt test pin.
  168.     IE   - Interrupt enable.
  169.     TOVF - Timer Overflow flag.
  170.     TCIE - Timer Counter Interrupt Enable.
  171.     TCE  - Timer Counter Enable.
  172.     T0E  - T0 counter enable.
  173.  
  174.  
  175.   The registers displayed in the register window are
  176.   defined as follows:
  177.     AC    - Accumulator
  178.     R0-R7 - General purpose register set
  179.     PSW   - Program Status word
  180.     SP    - Stack pointer
  181.     PC    - Program counter
  182.     TCNT  - Timer counter register
  183.  
  184.   This a full screen editor.
  185.   The editor commands are:
  186.     <CTRL><K> <CTRL><B> - mark the beginning of a block.
  187.     <CTRL><K> <CTRL><K> - mark the end of a block.
  188.     <CTRL><K> <CTRL><Y> - delete the marked block.
  189.     <CTRL><K> <CTRL><W> - write marked block to a file.
  190.     <CTRL><K> <CTRL><R> - reads a file into the text
  191.                           buffer at cursor.
  192.     <CTRL><K> <CTRL><C> - copies the current block to the
  193.                           cursor location.
  194.     <CTRL><Q> <CTRL><Y> - delete to end of current line.
  195.     <CTRL><Y> - delete current line.
  196.     <CTRL><Q> <CTRL><F> - find specified text.
  197.     <CTRL><L> - repeat last find.
  198.     <INSERT> - toggles between over type and insert mode.
  199.     <BACK SPACE> - deletes the character to the left of
  200.                    the cursor.
  201.     <DELETE> - deletes the character under the cursor.
  202.  
  203.   When errors are generated during assembly you will be
  204.   returned to this editor with the cursor positioned on
  205.   the offending line.  An error message will be displayed
  206.   on the line directly above the command line indicating
  207.   the type of error.
  208.  
  209.   Press F2 to save the the text in the editor.
  210.   Press F8 for the next error.
  211.   Press F7 for a previously displayed error.
  212.   Press F10 for the main menu.
  213.  
  214.   NOTE: Some errors may generate aditional errors.
  215.         Fixing the first error will generally fix
  216.         subsequent errors.
  217.  
  218.   This program is unable to communicate with the
  219.   programmer.  Check that the proper parallel port
  220.   has been defined in the options menu.  Also check
  221.   that the cable is connected properly and that the
  222.   programmer power cord is pluged into an AC outlet.
  223.  
  224.  
  225.  
  226.   This is the main program menu, from this menu you can
  227.  
  228.     Program an 8748/49 with the code generated by the
  229.       assembly process.
  230.  
  231.     Blank check the 8748/49 in the programmer.
  232.  
  233.     Verify the contents of the code buffer with the
  234.       contents of the 8748/49
  235.  
  236.     Read the contents of the 8748/49 in the programmer
  237.       into the code buffer and generate a file READ.HEX
  238.       containg the Intel hex format of this code.
  239.  
  240.  
  241.   This program is unable to communicate with the
  242.   programmer.  Check that the proper parallel port
  243.   has been defined in the options menu.  Also check
  244.   that the cable is connected properly and that the
  245.   programmer power cord is pluged into an AC outlet.
  246.  
  247.  
  248.  
  249.   Enter the name of the file to save the contents of the
  250.   text buffer to.  This can be any valid DOS file name.
  251.  
  252.  
  253.   This window displays the current status of the
  254.   editor.  The name of the currently loaded file,
  255.   its size in bytes.  The size of the text buffer
  256.   and the number of bytes left in the buffer.
  257.  
  258.  
  259.  
  260.   This window displays the result of the assembly
  261.   process.  The number of errors, lines assembled
  262.   and ending address is displayed.
  263.  
  264.   Press any key to return to the main menu.
  265.  
  266.  
  267.  
  268.   Select which parallel port your programmer is
  269.   connected to (LPT1, LPT2 or LPT3).  If you to not
  270.   have a programmer then set (or leave) the programmer
  271.   port to OFF.
  272.  
  273.  
  274.   Enter the number of spaces between tab stops used
  275.   by the editor.
  276.  
  277.  
  278.   Select the default output radix used to display
  279.   values in the Simulator.
  280.  
  281.  
  282.   Enter the drive and directory containing the 8048
  283.   program files.  This will allow you to access the
  284.   help files from a directory other than the one
  285.   containing the 8048 program files.
  286.  
  287.  
  288.  
  289.   Select the target CPU is to be used in this design.
  290.   This allows the assembler to inform you if your
  291.   code becomes larger than the target CPU.  It also
  292.   specifies to the programmer which chip is being
  293.   programmed.
  294.  
  295.  
  296.   When an 8748/49 is in the programmers ZIF socket,
  297.   pin 11 of the ZIF socket (ALE) should toggle between
  298.   high and low.  The programmer has reported that the
  299.   ALE line is not toggling indicating that the chip
  300.   to be programmed is improperly socketed.
  301.  
  302.   If the 8748/49 is in the socket properly then it
  303.   may be damaged and need to be replaced.
  304.  
  305.  
  306.   Insert the 8748/49 into the programmers ZIF socket.
  307.   Do not insert the 8748/49 until instructed to do so.
  308.   Inserting the 8748/47 into the program when it is
  309.   not ready may damage the 8748/49.
  310.  
  311.  
  312.    This window displays the version of your 8048 software
  313.    and the Copyright notice.  Press the ESC key to exit
  314.    from this help message then press any key to continue
  315.    with the 8048 program.
  316.  
  317.    You are granted the right to duplicate the software
  318.    and freely distribute it.  Provided you do not charge
  319.    for the software.
  320.  
  321.  
  322.   Enter the name of the file to be loaded.  Press the
  323.   F2 function key to display a list of files to chose
  324.   from.
  325.  
  326.   Pressing ENTER with no filespec specified
  327.   will display a list of all files within the current
  328.   directory with an .ASM extension.
  329.  
  330.   You can display a list of files with any extension.
  331.   i.e. to display a list of files with a .SRC extension
  332.   enter *.SRC
  333.  
  334.